<?php
class MonsterAllyInfoList extends AppModel
{
    public $name = 'MonsterAllyInfoList';
    public $useDbConfig = 'fantasy_hero_kr_game';
    public $primaryKey = '_id';

    public function getAllId()
    {
        $params = array(
            /*'conditions' => array(
                'Id' => array(
                    '$regex' => 'AOA'
                )
            ),*/
            'fields' => array('Id', 'Name')
        );

        $data = $this->find('all', $params);
        return $data;
    }
}